<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>出租车管理系统</title>
    <link rel="stylesheet" href="/css/admin/login.css">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/script/jquery-3.3.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/admin/login.js"></script>
</head>
<body >
    <div class="layui-container">
        <div class="title" style="color: white">
            出租车管理系统
        </div>

        <form class="layui-form" action="/user/tologin" method="post">
            <div class="layui-row">
                <div class="layui-col-md-offset4 layui-col-md4">
                    <div class="layui-form-item">
                        <label class="layadmin-user-login-icon layui-icon layui-icon-username layui-icon-username" for="username" ></label>
                        <input type="text" name="userName" id="userName" value="admin" lay-verify="required|username"  placeholder="用户名" class="layui-input"> </div>
                </div>
            </div>

            <div class="layui-row">
                <div class="layui-col-md-offset4 layui-col-md4">
                    <div class="layui-form-item">
                        <label class="layadmin-user-login-icon layui-icon layui-icon-password password" for="passrod" ></label>
                        <input type="text" name="password" id="passrod" value="123456" lay-verify="required|password"  placeholder="密码" class="layui-input"> </div>
                </div>
            </div>

            <div class="layui-row">
                <div class="layui-col-md-offset4 layui-col-md2 layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layadmin-user-login-icon layui-icon layui-icon-vercode code" for="code" ></label>
                        <input type="text" name="code" id="code" lay-verify="required" placeholder="验证码" class="layui-input"> </div>
                </div>
                <div class=" layui-col-md2 layui-col-xs2">
                    <div class="layui-form-item">
                        <img src="/getVerify" class="codeImg" onclick="getVerify(this);">
                </div>
            </div>
            </div>

            <div class="layui-row">
                <div class="layui-col-md-offset4 layui-col-md4">
                  <div lay-submit lay-filter="*" class="layui-btn layui-btn-fluid">登录</div>
                </div>
            </div>


        </form>

    </div>






</body>
</html>